home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Diskmonitors / TrackEd / TrackEd.Doc < prev    next >
Text File  |  1996-09-26  |  12KB  |  262 lines

  1.  
  2. The program TrackEd is Freeware. You may copy and use TrackEd if
  3. you stick with the following rules:
  4.  
  5. 1)   No profit is made by selling TrackEd to others. A small fee
  6.      for copying, disk costs etc. may be asked. This should not
  7.      be more than $5.
  8.  
  9. 2)   TrackEd is distributed in its original form. No changes are
  10.      made and this file must be distributed with it. If possible,
  11.      distribute also the source files with it.
  12.  
  13. 3)   TrackEd is not distributed as part of a commercial product,
  14.      unless you have the written permission of the author.
  15.  
  16. 4)   When you modify the source code and release a new version of
  17.      TrackEd, the author should be notified and his name has to
  18.      remain mentioned in the 'About'-text in the program.
  19.  
  20. 5)   The author can not be held responsible for damage or data
  21.      loss, which are caused by failures in the program, incorrect
  22.      use of the program, errors in the manual or any other
  23.      reason.
  24.  
  25. 6)   TrackEd is Freeware. This means you need not to pay for
  26.      using it. However, if you appreciate this program and like
  27.      to see new versions or other improvements, it is not
  28.      forbidden to send cash of any kind to the author. If you
  29.      have any bug reports or suggestions for improvement then
  30.      they are even more welcome and you can send me a letter to
  31.      the address at the end of this file.
  32.  
  33.  
  34. 1  Introduction
  35.  
  36. TrackEd is a program which allows you to read, edit and write
  37. sectors of Amiga floppy disks. One sector at a time can be read
  38. into the buffer and can be edited in hexadecimal or ASCII mode.
  39. Sectors can be saved and loaded to disk files, or can be put in a
  40. second buffer. You can read sectors from all DFx: devices that
  41. are connected to your Amiga system.
  42. Data and strings can be searched on the whole disk or just a part
  43. of it. String search can be executed in three different modes.
  44. This program requires OS Release 2 or higher to operate.
  45.  
  46.  
  47. 2  How to use TrackEd
  48.  
  49. You can start TrackEd from the Workbench by double-clicking on
  50. its icon, or from the CLI by just giving the command 'TrackEd'. A
  51. window will be opened which shows a big box with numbers, four
  52. buttons for the drives df0: to df3: (the buttons belonging to not
  53. connected drives will be disabled) and three button sets to
  54. change current track, sector and block. If no DFx: units are
  55. found the program will terminate. (This is possible if you have a
  56. harddrive or a RAD:-disk and you disabled your internal and
  57. external drives with the setup-menu in OS2.0). The program will
  58. read block 880 (the root-block) of the first connected drive
  59. unit, generally df0:. You can change drive by clicking on the
  60. drive buttons. The current block displayed can be changed by
  61. changing the number in the track, sector or block gadgets. Note
  62. that the maximum track value is 159, the maximum sector value is
  63. 10 and the maximum block value is 1759. You can change these
  64. numbers also by pressing the arrow buttons next to the number
  65. gadgets. The block number is not independent of the track and
  66. sector's values. The block number can be calculated with the
  67. formula:
  68.  
  69.    block = 11*track + sector.
  70.  
  71. On the other hand, if you change the value in the block gadget,
  72. the track and sector gadget will be changed to match this
  73. formula.
  74. To read the desired sector, you can change the track and sector
  75. values or the block value, whatever seems to be the easiest.
  76.  
  77. Whenever you change one of these values, the new sector will be
  78. read into the buffer and displayed in the window. Only half of
  79. the buffer contents can be showed in the window at a time. To see
  80. more, use the proportional gadget right to the buffer-window.
  81.  
  82. The buffer contents can be edited by typing hexadecimal digits in
  83. the number part of the window, or by typing ASCII-characters in
  84. the most right column. If you have entered a character, the
  85. cursor will proceed to the character right from the one you just
  86. entered. If you reach the end of the row, or if you pressed the
  87. return-key, the cursor will proceed to the next line, but will
  88. remain in the same column you were in. So if you want to type a
  89. long string in the ASCII-part, you can just keep typing until the
  90. string is complete, or you have reached the end of the buffer.
  91.  
  92. The cursor can be moved with the cursor keys, the backspace key
  93. and the return key. You can also get to a certain position
  94. quickly, by clicking on the desired position with the mouse.
  95.  
  96.  
  97. 3  Menu functions
  98.  
  99. The menu has four main menus:
  100. -  Project  |  About
  101.             |  Quit
  102.  
  103. -  Sector   |  Read again
  104.             |  Write back
  105.             |  Load from file
  106.             |  Save to file
  107.             |  Calculate Checksum
  108.  
  109. -  Buffer   |  Read from buffer
  110.             |  Write to buffer
  111.  
  112. -  Search   |  Search string
  113.             |  Search number
  114.  
  115. 3.1   Project
  116. 'About' shows the current version of TrackEd, when it was last
  117. changed and the author's name.
  118. 'Quit' closes the window and exits TrackEd. 'Quit' will not ask
  119. you to confirm if you really want to quit, so do not select this
  120. menuitem if you made important changes in the buffer that were
  121. not updated to disk.
  122.  
  123. 3.2   Sector
  124. 'Read again' will the selected sector again. Use this as an undo
  125. function.
  126. 'Write back' will write the buffer back to the selected sector.
  127. If you want to write the buffer to another sector or to another
  128. disk, see the 'Buffer'-menu.
  129. 'Load from file' will load data from a file into the buffer. If
  130. the size of the file is greater than one sector (= 512 bytes)
  131. only the first 512 bytes will be read. If the size is smaller,
  132. the whole file will be read and a warning will be displayed.
  133. 'Load from file' uses the ASL filerequester. If you want to use
  134. this function, you'll need to have "asl.library" installed in
  135. your LIBS: directory.
  136. 'Save to file' will save the contents of the buffer to a file.
  137. The size of this file will always be 512 bytes.
  138. 'Calculate checksum' will calculate the checksum of the buffer.
  139. the Checksum will be placed into the fifth longword. Use this
  140. function only if you are sure the sector needs a Checksum.
  141. IMPORTANT NOTE: the bootblock uses a different checksum formula.
  142. NEVER use the 'Calculate checksum' on a bootblock.
  143. (Unfortunately, I could nowhere find documentation on the formula
  144. for the bootblock checksum. If someone knows this formula, please
  145. send me a letter with the formula explained to the address
  146. displaced below).
  147.  
  148. 3.3   Buffer
  149. 'Read from buffer' will load data from a second buffer into the
  150. sector buffer. This second buffer will initially contain only
  151. zeroes.
  152. 'Write to buffer' will copy the contents from the sector-buffer
  153. into the second buffer.
  154. You can use these read/write functions to store an edited track
  155. before you make uncertain changes. The main reason why I
  156. implemented these functions, is that it allows you to transfer a
  157. sector to a different track or disk.
  158. For example, you could read block 880 into the buffer and place
  159. it into the second buffer with "Write to buffer'. The you could
  160. select another drive or another block, let's say block 1759. This
  161. block will be read into the buffer and displayed in the window.
  162. You can now use 'Read from buffer' to copy the contents of block
  163. 880 into the buffer. If you would select 'Write back' now, you
  164. would have copied block 880 to 1759.
  165.  
  166. 3.4   Search
  167. Search has two items: 'Search string' and 'Search number'. These
  168. work roughly in a similar way.
  169. 'Search string' opens a requester. You can change the start and
  170. end track, the string and the mode. To start searching press
  171. 'Start' or press 'Cancel' to abort the search.
  172. The start and end track define the tracks that are to be
  173. searched. These are by default 0 and 159, so if you do not change
  174. them, the whole disk will be searched.
  175. In the string box type the string you want to search. In what
  176. manner this one will be interpreted is dependent of the search
  177. mode.
  178. If you select 'A = a' then no distinction will be made between
  179. capital and non-capital characters. "aMIgA" could be found with
  180. "AMIGA" as search string.
  181. However if you select "A <> a" then this distinction will be
  182. made. If your search string is "Amiga" then "amiga" will not be
  183. found. If you are not sure if the searched word contains capital
  184. characters, use 'A = a' mode or search only the last characters
  185. of a word. For example you could find "Amiga" and "amiga" with
  186. the search string "miga".
  187. The most complex mode is the 'Relative' mode. In this mode a
  188. series of characters will be searched that have the same mutual
  189. differences between each other, but that do not need to have the
  190. same absolute values. For example, if your search string is
  191. "AMIGA" you could also find "amiga" or "BNJHB", but you will not
  192. find "Amiga" or "aMIgA". Use this mode if you suspect the
  193. searched string is not stored using ASCII-code, but another code
  194. in which the characters a-z are numbered in increasing order.
  195.  
  196. If you have pressed 'Start' the search will begin. A requester
  197. will show the current track that is examined. Pressing the
  198. 'Abort' button will cause the search to be aborted without any
  199. result.
  200. If the string is found a message will be displayed and the sector
  201. it was found in will be read into the buffer. The data from the
  202. sector previously stored in the buffer will be lost! The cursor
  203. will be placed at the first character of the search string in the
  204. ASCII-column.
  205. If the last track was examined and the string wa still not found
  206. a message will be displayed and the buffer will still contain the
  207. sector it contained before the search.
  208.  
  209. 'Search number' works the same as 'Search string' apart from the
  210. fact that it searches integer values instead of text. Therefore
  211. 'Search number' works in only one mode. The number(s) to be
  212. searched have to be entered in the same box as in which the
  213. search string in 'String search' was entered. You are allowed to
  214. use three different data formats: hexadecimal, decimal and ASCII.
  215. To search a decimal value, just enter the value in the box. For a
  216. hexadecimal value, the value should be preceded by a dollar sign
  217. ($). An ASCII value is inserted between two quotes (').
  218. A decimal vaule will be converted to a byte, word or longword,
  219. depending on its value. So if you want to search a word with the
  220. value 27, you have to enter two decimal values: 0 and 27.
  221. The hexadecimale values will be split in seperate bytes. If the
  222. number of digits after the $-sign is odd, then an extra 0 will be
  223. placed in front of the other digits. So if you search a word
  224. with the value of 260, you could enter $0104 or just $104, or
  225. even $1 $4.
  226. The ASCII values will be converted to their ASCII-codes. More
  227. ASCII characters may be inserted between the quotes. 'ABC' will
  228. be converted to three bytes: 65 66 67.
  229. In one search more formats may be used. I will give some examples
  230. of legimate search values and the converted values:
  231.  
  232.    $43                  -> $43
  233.    43                   -> $2B
  234.    $143 143             -> $01 $43 $8F
  235.    $434445              -> $43 $44 $45
  236.    4425797 (= $434445)  -> $00 $43 $44 $45 (!)
  237.    'C' 'c'              -> $43 $63
  238.    'Amiga'              -> $41 $6D $69 $67 $61
  239.    67 $43 'C'           -> $43 $43 $43
  240.    $0043                -> $00 $43
  241.    $00043               -> $00 $00 $43
  242.  
  243. If the number is found, the sector it is in will be read into the
  244. buffer and the cursor will be placed at the first searched byte
  245. in the hexadecimal column.
  246. It is possible as well in string as in number search that the
  247. searched data is stored in two adjacent sectors. Then the sector
  248. will be read in which the first byte of the data was found.
  249.  
  250.  
  251. 4
  252.  
  253. I hope I have informed you clear enough how to work with TrackEd.
  254. If you have any suggestions about improvements or if you have
  255. discovered any bugs or errors, I would be pleased to know about
  256. them and you can send me a letter to:
  257.  
  258.    Camiel Rouweler
  259.    Weldam 2
  260.    5655 JG Eindhoven
  261.    the Netherlands
  262.